package com.admin.dao;

import com.admin.entity.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author szy
 * @since 2023-02-21
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    //根据用户ID查询用户权限菜单列表
    List<Permission> findPermissionListByUserId(Long userId);
}
